package com.bluesky.android.webservice;

import java.util.ArrayList;

import org.ksoap2.serialization.PropertyInfo;
import org.ksoap2.serialization.SoapObject;
import org.ksoap2.serialization.SoapPrimitive;
import org.xml.sax.*;

public class MangaChapterDataHandle extends BaseHandler {
	private String handleFunction = "GetDataForChapter";
	private ArrayList<String> imageList = new ArrayList<String>();
	
	
	@Override
	public  Object getResult(SoapObject soapObject){
		// TODO Auto-generated method stub
		int resultCount = soapObject.getPropertyCount();
		for(int i=0; i < resultCount; i++)
		{
			PropertyInfo pInfo = new PropertyInfo() ;
			soapObject.getPropertyInfo(i, pInfo);
			imageList.add(pInfo.getValue().toString() );
		}
		return imageList;
	}
	@Override
	public String getServiceFunctionForHandle(){
		return handleFunction;
	}
}
